package com.gmall.console.system.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * <p>
 *
 * </p>
 *
 * @author Jone
 * @since 2024-05-29
 */
@TableName("T_ROLE")
@Data
@Schema(name = "Role", description = "")
public class Role implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "ID")
    private String id;

    @Schema(description = "角色名称")
    private String roleName;

    @Schema(description = "状态")
    private Byte status;

    @Schema(description = "说明")
    private String remark;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "创建人")
    private String createBy;

    @Schema(description = "修改时间")
    private LocalDateTime updateTime;

    @Schema(description = "修改人")
    private String updateBy;

    @TableField(exist = false)
    private List<Integer> menuIdList;

}
